package com.lyfx.ly.vo;

import lombok.Data;

import java.util.List;

/**
 * @author lsy
 * @create 2020-07-27-17:24
 */
@Data
public class CatelogVo {
    private String catId;
    private String name;
    private List<Catelog2Vo> catalog2List;//二级子分类
    private List<Catelog2Vo.Catelog3Vo> bestCatList;//优先级高的

    @Data
    public static class Catelog2Vo{
        private String cat1Id;//父一级分类id
        private String catId;
        private String name;
        private List<Catelog3Vo> catalog3List;

        @Data
        public static class Catelog3Vo{
            private String cat2Id;//父二级分类id
            private String catId;
            private String name;
        }
    }
}
